package com.linuxgt.mobile.replydomain;

import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * User: LIUTENG
 * Date: 13-5-3
 * Time: 下午2:34
 * To change this template use File | Settings | File Templates.
 */
public class WeChatReplyPicTextMessage {
    private String toUserName;

    @Override
    public String toString() {
        return "WeChatReplyPicTextMessage{" +
                "toUserName='" + toUserName + '\'' +
                ", fromUserName='" + fromUserName + '\'' +
                ", createTime='" + createTime + '\'' +
                ", msgType='" + msgType + '\'' +
                ", articleCount=" + articleCount +
                ", articles=" + (articles == null ? null : Arrays.asList(articles)) +
                '}';
    }

    private String fromUserName;
    private String createTime;
    private String msgType;
    private int articleCount;
    private String[] articles;

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = "<![CDATA[" +toUserName+ "]]>";
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = "<![CDATA[" +fromUserName+ "]]>";
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = "<![CDATA[" +msgType+ "]]>";
    }

    public int getArticleCount() {
        return articleCount;
    }

    public void setArticleCount(int articleCount) {
        this.articleCount = articleCount;
    }

    public String[] getArticles() {
        return articles;
    }

    public void setArticles(String[] articles) {
        this.articles = articles;
    }
}
